glxcreateglxpixmapwithconfigsgix - Man Page






glXCreateGLXPixmapWithConfigSGIX(3G)			OpenGL Reference - GLX



NAME
     glXCreateGLXPixmapWithConfigSGIX -	create an off-screen GLX rendering
     area with specified frame buffer configuration


C SPECIFICATION
     GLXPixmap glXCreateGLXPixmapWithConfigSGIX( Display *dpy,
						 GLXFBConfigSGIX config,
						 Pixmap	pixmap )


PARAMETERS
     dpy     Specifies the connection to the X server.


     config  Specifies the GLX frame buffer configuration that defines the
	     structure of the rendering	area.


     pixmap  Specifies the X pixmap that will be used as the front left	color
	     buffer of the off-screen rendering	area.


DESCRIPTION
     glXCreateGLXPixmapWithConfigSGIX creates an off-screen rendering area and
     returns its XID.  Use glXMakeCurrent to associate the rendering area with
     a GLX rendering context.

     The X pixmap identified by	pixmap is used as the front left buffer	of the
     resulting off-screen rendering area.  All other buffers specified by
     config, including color buffers other than	the front left buffer, are
     created without externally	visible	names.	GLX pixmaps with double-
     buffering are supported.  However,	glXSwapBuffers is ignored by these
     pixmaps.

     GLX pixmaps are not supported with	direct rendering contexts.


NOTES
     glXCreateGLXPixmapWithConfigSGIX is part of the GLX_SGIX_fbconfig
     extension.


ERRORS
     BadMatch is generated if pixmap was not created with respect to the same
     screen as config.

     GLXBadFBConfigSGIX	is generated if	config is not a	valid GLXFBConfig.

     BadPixmap is generated if pixmap is not a valid pixmap.





									Page 1






glXCreateGLXPixmapWithConfigSGIX(3G)			OpenGL Reference - GLX



     BadAlloc is generated if the server cannot	allocate the GLX pixmap.



SEE ALSO
     glXCreateContext, glXIsDirect, glXMakeCurrent, glXCreatePixmap,
     glXGetFBConfigAttribSGIX, glXChooseFBConfigSGIX,
     glXCreateGLXPixmapWithConfigSGIX















































									Page 2